﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MvcShop.Models.Repositories
{
    public interface IOrderRepository<T> : IRepository<T> where T : class
    {
        decimal GetOrdersTotal(string userName);
    }

    public interface IOrdersInfoRepository<T> : IRepository<T> where T : class
    {
    }

    public interface IDeliverRepository<T> : IRepository<T> where T : class
    {
    }

    public interface IAddressBookRepository<T> : IRepository<T> where T : class
    {
        bool Update(AddressBook addressBook);
        AddressBook Find(int id, string userName);
    }
}
